// store/index.ts
export const useStore = defineStore('main', {
  state: () => ({
    cartCount: 0
  }),
  actions: {
    addCart() {
      this.cartCount++
    }
  }
})